﻿@{
    ViewBag.Title = "Subject Info - Project Management System";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
    Account Info</h2>
<form id="form" action="" method="post">
<div class="content-box" id="Subject">
    <!-- Start Content Box -->
    <div class="content-box-header">
        <h3>
            Subject Info
        </h3>
        <div class="clear">
        </div>
    </div>
    <!-- End .content-box-header -->
    <div class="content-box-content">
        @{ if (TempData["Message"] != null)
           {
            <div class="notification png_bg" id="messageBox">
                <a href="#" class="close">
                    <img src="../../Content/images/icons/cross_grey_small.png" title="Close this notification"
                        alt="close" /></a>
                <div>
                    @TempData["Message"].ToString()
                </div>
            </div>
           }
        }
        <fieldset>
            <input type="hidden" id="txtSubjectID" name="SubjectID"value="@Model.SubjectID"/>
            <p>
                <label class="width12 floatLeft">
                    Subject Name:</label>
                <input type="text" id="txtSubjectName" name="SubjectName" class="width20 medium-input input-inline text-input" value="@Model.SubjectName"/>
            </p>
            <p>
                <label class="width12 floatLeft">
                    Subject Code:</label>
                <input type="text" id="txtSubjectCode" name="SubjectCode" class="width20 medium-input input-inline text-input" value="@Model.SubjectCode"/>
            </p>
            <p>
                <label class="width12 floatLeft">
                    Department:</label>
                @Html.DropDownList("DepartmentID", (SelectList)ViewData["DepartmentList"], new { @class = "width20 input-inline" })
            </p>
            <p>
                <input class="button" type="submit" value="Save" id="btnSubmit" />
            </p>
        </fieldset>
    </div>
</div>
</form>
<script type="text/javascript">
    $("#Setting").addClass("current");
    $("#ManageSubject").addClass("current");

</script>
